home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir37
/
ushell.zip
/
README
< prev
next >
Wrap
Text File
|
1990-02-19
|
4KB
|
110 lines
MS-DOS Shell Version 1.4 README January 1990
MS-DOS SHELL - Copyright (c) 1990 Data Logic Limited and Charles Forsyth
This code is based on (in part) the shell program written by Charles
Forsyth and is subject to the following copyright restrictions:
1. Redistribution and use in source and binary forms are permitted
provided that the above copyright notice is duplicated in the
source form and the copyright notice in file sh6.c is displayed
on entry to the program.
2. The sources (or parts thereof) or objects generated from the
sources (or parts of sources) cannot be sold under any circumstances.
$Header: readme 1.1 90/01/25 13:43:20 MS_user Exp $
$Log: readme $
# Revision 1.1 90/01/25 13:43:20 MS_user
# Initial revision
#
________________________________________________________________________________
This is an implementation of the Unix Shell for MSDOS. As far as
possible it is compatible with the System V.3 program sh(1). The
following differences are noted:
1) Background or asynchronous commands are not supported
2) Certain internal commands which have no equivalent MSDOS supported
functionality support (ulimit, time etc) are not provided.
3) Command hashing and accounting are not supported.
4) The Shell uses all variables starting with a ~ (tilde) internally
and will not allow you to display them. I don't think this is a
difference from the user's view, just internally.
5) 8 bit character sets are not supported.
The following enhancements have been made for the MSDOS environment.
These enhancements are described in the appropriate section of the
manual pages.
1) The Shell will swap itself out to one of the following:
- Expanded memory
- Extended memory
- Disk (this is the slowest)
The swapping is controlled by the shell internal command swap. If
swapping is enabled, the shell only uses 3K of memory whilst a
child process is executing.
Note: Swapping to Extended memory is probably the most dangerous
because there is no memory manager available for it.
2) History processing has been added.
3) Command line editing has been added.
4) The command line prompt can be programmed to display 'useful'
information.
5) The shell uses Unix format file names (ie slashes and not
backslashes) to delimit directories. Some programs require certain
environment variables to be in MS-DOS format (using backslashes).
The msdos command allows these variables to be marked so that they
are set correctly when the environment for a program is set up.
6) Extended command line processing is supported using the parameter
@<filename> to a command. Examples of this include the Microsoft
Linker and Librarian and of course the Shell itself. A version of
stdargv.c which supports this format (and wildcards from a normal
command line) is included.
7) Wild cards on drives (ie echo *:*.c will echo all the C files in
the current directories of each drive) are supported.
In order to rebuild this program, you need the DIRECTORY(3) functions
for MSDOS (also included) and the version of open in your library must
pass the O_NOINHERIT bit on the MSDOS kernel. The Microsoft C V5.1
library does not pass this bit on to the MSDOS open System call. I
fixed this using CodeView to find where the library function masks off
the bottom 2 bits. Extracted the object from the library and patched
mask from 0x03 to 0x83 in the object and reload into the library. No
Problem.
You can do want you like with this software as long as you don't sell
it or remove the Copyright notices in the sources or object.
If you have any problems or want to let me know about any enhancements
you have made (which could be included in a new general release), you
can contact me at
Data Logic Limited
Queens House
Greenhill Way
Harrow
Middlesex, HA1 1YR
UK.
Phone : +44 1 863 0383
E-Mail: istewart@datlog.co.uk or ukc!datlog!istewart
Note:
Unix is a registered trademark of AT&T Bell Laboratories
Microsoft, MSDOS and CodeView are registered trademarks of Microsoft
Corporation